package com.zhuoyue.system.mapper;

import com.zhuoyue.common.annotation.DataSource;
import com.zhuoyue.system.domain.po.TblLocalScenePo;
import com.zhuoyue.system.domain.vo.LocalSceneVo;

import java.util.List;

import static com.zhuoyue.common.enums.DataSourceType.SLAVE;

/**
 * 本地场景Mapper接口
 *
 * @author hewenze
 * @date 2020-08-10
 */
@DataSource(SLAVE)
public interface TblLocalSceneMapper {


    /**
     * 查询本地场景列表
     *
     * @param tblLocalScenePo 本地场景
     * @return 本地场景集合
     */
    public List<LocalSceneVo> selectTblLocalSceneList(TblLocalScenePo tblLocalScenePo);

    List<LocalSceneVo> selectSceneListByHomeId(TblLocalScenePo localScenePo);

    /**
     * 根据Id查询设备信息
     *
     * @param id
     * @return
     */
    LocalSceneVo selectById(String id);
}
